package com.visitcqut.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;



/**
 * @program: visitcqut
 * @description: 预约实体类
 * @author: ATAO
 * @create: 2020-11-14 15:30
 **/



@Data
@AllArgsConstructor
@NoArgsConstructor
public class Reservation {

    /**
     * 预约编号
     */
    private Integer id;


    /**
     * 游客编号
     */
    private Integer tourist_id;


    /**
     * 预约时间段
     */
    private String Appointment_time;


    /**
     * 预约构造方法
     */
    public Reservation(Integer tourist_id, String Appointment_time) {
        this.tourist_id = tourist_id;
        this.Appointment_time = Appointment_time;
    }


    @Override
    public String toString() {
        return "Reservation{" +
                "id=" + id +
                ", tourist_id=" + tourist_id +
                ", Appointment_time='" + Appointment_time + '\'' +
                '}';
    }
}



